package com.woniuxy.auth.service.impl;

import com.woniuxy.auth.mapper.AdminMapper;
import com.woniuxy.auth.service.AdminService;
import com.woniuxy.commons.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: 王敞
 * @E-mail： 365799712@qq.com
 * @Date: 2020/08/05/9:42
 * @Description:
 */
@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin findAdminByAName(String aname) {
        return adminMapper.findAdmin(aname);
    }
}
